Platform Explorer / Nuxeo Platform 2023.21

Operation User.GetCollections (Get collections)

Description

Get the list of all the collections visible by the currentUser. This is returning a list of collections.
Operation id User.GetCollections
AliasesCollection.GetCollections
Category Document
Label Get collections
Requires
Since

Parameters

Name Description Type Required Default value
searchTerm string yes  

Signature

Inputs void
Outputs documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.collections.GetCollectionsOperation
Contributing Component org.nuxeo.ecm.core.automation.features.operations

JSON Definition

{
  "id" : "User.GetCollections",
  "aliases" : [ "Collection.GetCollections" ],
  "label" : "Get collections",
  "category" : "Document",
  "requires" : null,
  "description" : "Get the list of all the collections visible by the currentUser. This is returning a list of collections.",
  "url" : "User.GetCollections",
  "signature" : [ "void", "documents" ],
  "params" : [ {
    "name" : "searchTerm",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}